<?php
//array("pNav"=>"xhtml1","pHead"=>"xhtml2","pDance"=>"xhtml3","pAdd"=>"xhtml4","pJson"=>"xhtml5","pConsole"=>"xhtml6");
class index extends ControllerAbstract
{
	public function run()
	{
		$page = array();
		$page["pNav"] = $this->pNav();
		$page["pDance"] = $this->pDance();
		$page["pHead"] = '<script src="'.($this->js).'/PHPStudy/index.js"></script>';
		return $page;
	}	
	public function pNav()
	{
		return '
			<a href="'.HOME.'guest.php">首页</a> 
		';
	}
	public function pDance()
	{
		$xhtml = '<p>PHP 应用技术</p><ol><li><a href="javascript:void(0);">伪静态</a></li><li><a href="javascript:void(0);">静态页面生成</a></li><li><a href="javascript:void(0);">数据库缓存</a></li><li><a href="javascript:void(0);">过程缓存</a></li></li><li><a href="javascript:void(0);">div+cssw3c标准</a></li></li><li><a href="javascript:void(0);">大负荷</a></li></li><li><a href="javascript:void(0);">分布式</a></li></li><li><a href="javascript:void(0);">桌面程序应用（不擅长）</a></li></li><li><a href="javascript:void(0);">MVC</a></li><li><a href="javascript:void(0);">Smarty模版引擎</a></li></ol>';
		//采用文件加载：后台		->filename.list
		$xhtml .= '<p>应用开发</p><ul><li>Desktop Application</li><ul><li>Develop Language(DL)</li><ul><li>Java</li><li>C#</li><li>VC++</li><li>VB</li></ul></ul><li>Mobile Application</li><ul><li>android java </li><li>apple object-c </li></ul><li>Web Development</li><ul><li>PHP</li><li>JSP</li><li>ASP</li></ul></ul>';
		return $xhtml;
	}
}
?>